@import "~taro-ui/dist/style/components/flex.scss";
@import "~taro-ui/dist/style/components/float-layout.scss";
@import "~taro-ui/dist/style/components/icon.scss";
.index {
  height: 100vh;
  background-repeat: no-repeat;
  background-size: 100%;
  position: relative;
  .inner {
    width: 92%;
    // margin: 0 auto;
    position: absolute;
    top: 10vh;
    left: 4%;
    .up {
      width: 100%;
      // background-size: 100%;
      position: relative;

      .share {
        position: absolute;
        top: 20rpx;
        right: 20rpx;
        display: flex;
        align-items: center;
        justify-content: center;
        height: 50rpx;
        width: 140rpx;
        padding: 0;
        margin: 0;
        border: none;
        background: none;
        &::after {
          border: none;
        }
      }

      .message {
        position: absolute;
        left: 30rpx;
        top: 30rpx;
        width: 300rpx;
        height: 200rpx;
        // background: red;
        display: flex;
        align-items: flex-start;
        color: white;
        .avatar {
          width: 110rpx;
          height: 110rpx;
          border-radius: 50%;
          display: flex;
          align-items: center;
          overflow: hidden;
          margin-right: 20rpx;
        }
      }

      .box {
        position: absolute;
        bottom: 40rpx;
        flex-direction: column;
        height: 300rpx;
        justify-content: space-between;
        font-size: 25rpx;
        .box-item {
          width: 92%;
          height: 140rpx;
          margin: 0 auto;
          border-radius: 10rpx;
          background: #fdf5ea;
          display: flex;
          align-items: center;
          .bold {
            font-weight: 600;
          }
          // .money-left {
          //   width: 25%;
          //   height: 130rpx;
          //   display: flex;
          //   align-items: center;
          // }
          // .line {
          //   width: 1%;
          //   height: 130rpx;
          //   background: red;
          // }
          .money-right {
            width: 67%;
            display: flex;
            flex-direction: column;
            height: 120rpx;
            justify-content: space-around;
            margin-left: 30%;
            .yue {
              display: flex;
              justify-content: space-between;
              .color {
                color: #f0ad52;
              }
            }
            .account {
              display: flex;
              justify-content: center;
              color: red;
              align-items: center;
            }
          }
        }

        .detail-item {
          width: 92%;
          height: 140rpx;
          margin: 0 auto;
          border-radius: 10rpx;
          display: flex;
          align-items: center;
          justify-content: space-between;
          .item {
            width: 45%;
            background: #fdf5ea;
            height: 140rpx;
          }
          .code {
            border-radius: 10rpx;
            display: flex;
            align-items: center;
            justify-content: space-around;
          }
          .game {
            border-radius: 10rpx;
            background-size: contain;
          }
        }
      }
    }
  }

  .erweima {
    width: 64%;
    position: absolute;
    top: 63vh;
    left: 18%;
  }

  .layout {
    padding: auto;
    .at-float-layout .layout-page {
      padding: 0;
    }
    .title {
      background: #ffd767;
      padding: 30rpx;
      color: #8e6f1a;
      font-size: 35rpx;
      font-weight: 600;
    }

    .content {
      .config {
        display: flex;
        flex-wrap: wrap;
        width: 100%;
        margin: 0 auto;
        padding-left: 3%;
        box-sizing: border-box;
        // justify-content: space-around;
        .item {
          width: 31%;
          height: 150rpx;
          display: flex;
          align-items: center;
          justify-content: center;
          text-align: center;
          background: #ffeaaf;
          border-radius: 15rpx;
          color: red;
          margin-right: 2%;
          margin-top: 20rpx;
          font-size: 30rpx;
          box-sizing: border-box;
          font-weight: 600;
        }
        .active {
          background-color: #ffffff;
          border: 4rpx solid red;
        }
      }

      .btns {
        display: flex;
        margin: 40rpx 0 0 0;
        .btn {
          width: 38%;
        }
        .cancel {
          background-color: #b8b8b8;
          color: white;
        }

        .sure {
          background-image: linear-gradient(to bottom, #ffc21a, #ffd871);
          border: none;
          &::after{
            border: none;
          }
          color: #8e6f1a;
        }
      }
    }
  }
}

.at-float-layout .layout-body {
  padding: 0 !important;
}
